Skip to main content

Get User Profile Detail

GET : http://<base_url>/digipay/v3/profile_threshold/user_profile/{id}

This api is used to assign profile to the user and get record for user profile

PATH PARAMS:-

ParameterTypeDescriptionValue
idStringunique user_id assogned to the profile to retrive userProfileDetailb9a4cbeeedd340509cb1ac628cae2973

HEADERS:-

ParameterTypeDescriptionValue
AuthorizationStringIt is a combination of type and token to authenticate user for the given tokenToken duik7309njdlkhdauhknksadhjkas986876sd873j
CompanyIDStringCompany_id is a unique primary id, that is represent company detail76bc712200ca444fa334f9e55e5fd7a8

Request Body:-

Request Example
curl --request GET \
--url http://192.168.1.102:8014/digipay/v3/profile_threshold/user_profile/b9a4cbeeedd340509cb1ac628cae2973 \
--header 'Authorization: Token duik7309njdlkhdauhknksadhjkas986876sd873j' \
--header 'CompanyID: 7753ad6bd8cf48f5b1312fd21eb36588' \
--header 'accept: application/json'

Response:-

Response 200(OK)

{
"success": 1,
"error": [],
"data": {
"user_profile" : {
"id": "803114ef2be54dc7869eb0fa730662d7",
"user_type": 3,
"user_id": "d0920fcd648e49588380ac39fc7b3727"
"profile_id": "66cf46d82f6845beb2320b00c6fbb6cf"
"wallet_id": "9bbbe9cc853d48e9a486574a04f4d5a7",
"parent_user_id": "9bbbe9cc853d48e9a486574a04f4d5a7",
"parent_user_type": 3
}
}
}
Response 400(BAD REQUEST)
{
"success": 0,
"error"": [1],
"data": {
"message": "BAD_REQUEST",
}
}

RESPONSES :-

Status CodeDescription
200OK
400BAD REQUEST
404NOT FOUND
500INTERNAL SERVER ERROR